package com.nbcio.modules.estar.classconfig.service.impl;

import com.nbcio.modules.estar.classconfig.entity.ErpClassconfigB;
import com.nbcio.modules.estar.classconfig.mapper.ErpClassconfigBMapper;
import com.nbcio.modules.estar.classconfig.service.IErpClassconfigBService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 分类配置
 * @Author: nbacheng
 * @Date:   2024-04-17
 * @Version: V1.0
 */
@Service
public class ErpClassconfigBServiceImpl extends ServiceImpl<ErpClassconfigBMapper, ErpClassconfigB> implements IErpClassconfigBService {

	@Autowired
	private ErpClassconfigBMapper erpClassconfigBMapper;

	@Override
	public List<ErpClassconfigB> selectByMainId(String mainId) {
		return erpClassconfigBMapper.selectByMainId(mainId);
	}

	@Override
	public String getRetail(String mainId) {

		return erpClassconfigBMapper.getRetail(mainId);
	}
}
